const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
 transpileDependencies: true,
 lintOnSave: false,
 devServer: {
  port: 8081,
  proxy: {
   '/dev-api': {
     target: 'http://localhost:8080', // 目标服务器地址
     changeOrigin: true, // 是否改变源地址
     pathRewrite: {
       '^/dev-api': '' // 重写路径
     }
   }
 }
 }
})
